// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-

/// @file	AP_MotorsQuad_dc.h
/// @brief	Motor control class for Quadcopters

#ifndef AP_MOTORSQUAD_DC
#define AP_MOTORSQUAD_DC

#include <FastSerial.h>
#include <AP_Common.h>
#include <AP_Math.h>        // ArduPilot Mega Vector/Matrix math Library
#include <RC_Channel.h>     // RC Channel Library
#include <APM_RC.h>         // ArduPilot Mega RC Library
#include <AP_MotorsMatrix_dc.h>    // Parent Motors Matrix library

/// @class      AP_MotorsQuad_dc
class AP_MotorsQuad_dc : public AP_MotorsMatrix_dc {
public:

    /// Constructor
    AP_MotorsQuad_dc( uint8_t APM_version, APM_RC_Class* rc_out, RC_Channel* rc_roll, RC_Channel* rc_pitch, RC_Channel* rc_throttle, RC_Channel* rc_yaw, RC_Channel* rc_roll_gyro, RC_Channel* rc_pitch_gyro, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) : AP_MotorsMatrix_dc(APM_version, rc_out, rc_roll, rc_pitch, rc_throttle, rc_yaw, rc_roll_gyro, rc_pitch_gyro, speed_hz) {
    };

    // setup_motors - configures the motors for a quad
    virtual void        setup_motors();

protected:

};

#endif  // AP_MOTORSQUAD_DC